package edu.mju.eduservice.service;

import edu.mju.eduservice.entity.StudyChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import edu.mju.eduservice.vo.chapter.ChapterVo;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author xiaoxin
 * @since 2020-08-31
 */
public interface StudyChapterService extends IService<StudyChapter> {

    List<ChapterVo> getChapterByCourseId(String courseId);

    boolean deleteChapter(String chapterId);

    void deleteChapterByCourseId(String courseId);
}
